package com.sinosoft.tcmneim.service.impl;

import com.sinosoft.tcmneim.dao.TblHrPersosittionDao;
import com.sinosoft.tcmneim.dataObject.TblHrPersosittion;
import com.sinosoft.tcmneim.service.TblHrPersosittionService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class TblHrPersosittionServiceImpl implements TblHrPersosittionService {



    @Resource
    private TblHrPersosittionDao tblHrPersosittiondao;

    @Override
    public List<TblHrPersosittion> list() {
        return tblHrPersosittiondao.list();
    }

    @Override
    public List<TblHrPersosittion> selectByItemCode(String itemCode) {
        return tblHrPersosittiondao.selectByItemCode(itemCode);
    }

    @Override
    public int insert(TblHrPersosittion tblHrPersosittion) {
        return tblHrPersosittiondao.insert(tblHrPersosittion);
    }

    @Override
    public int updated(TblHrPersosittion tblHrPersosittion) {
        return tblHrPersosittiondao.updated(tblHrPersosittion);
    }

    @Override
    public int deleteByItemCode(String itemCode) {
        return tblHrPersosittiondao.deleteByItemCode(itemCode);
    }
}
